Skip to content

Typescript HTTP driver #767

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Conversation

sam-butcher
Copy link
Member

@sam-butcher sam-butcher commented Jul 9, 2025

Usage and product changes

Add a relatively slim typescript driver based on our HTTP API, adapted from code used for this purpose in typedb-studio.

This driver is published to npm under the name typedb-driver-http through the same process as the old nodejs driver.

Implementation

Used https://github.com/typedb/typedb-studio/tree/a3e422544b31175906c41bdb805b51c2c3ebaa60/src/framework/typedb-driver as a base.

Expanded it to cover all endpoints of the HTTP API as per https://typedb.com/docs/drivers/http/api-reference

Added release to npm based on the code used to release the old nodejs driver.

Testing

Testing has been done manually thus far. More full tests will be added at a later date after higher priority work on documentation (specifically, adding an example app using this driver) is completed.

@sam-butcher sam-butcher changed the title [DRAFT] Typescript HTTP driver Typescript HTTP driver Jul 10, 2025
@sam-butcher sam-butcher marked this pull request as ready for review July 10, 2025 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant